package ZuoYe15;

public class JiDan {

	public static void main(String[] args) {
		int i = 1;
		while (true) {
			if (1 == i % 2 && 2 == i % 3 && 4 == i % 5) {
				System.out.println(i);
				break;
			}
			i++;
		}

	}
}
